```ruby
require 'quick_travel/adapter'
require 'quick_travel/bed_requirement'
require 'quick_travel/passenger_price_break'
require 'quick_travel/product_type'

module QuickTravel
  class Resource < Adapter
    self.api_base = '/resources'

    def sub_resources
      Resource.find_all!('/resources.json', parent_resource_id: @id)
    end

    def product_type
      QuickTravel::ProductType.find(product_type_id)
    end

    # this method is also duplicated in accommodation class. because now its room facilities are now also available in property show api call
    def room_facilities
      if @_room_facilities.blank?
        @_room_facilities = []
        @room_facilities.each do |item|
          @_room_facilities << RoomFacility.new(item['room_facility'])
        end
      end
      @_room_facilities
    end

    def bed_requirements
      @_bed_requirements ||= Array.wrap(@bed_requirements).map do |bed_requirement|
        BedRequirement.new(bed_requirement)
      end
    end
  end
end
```

Remove unused method (this is done in setter in accommodation.rb)
user
```ruby
require 'quick_travel/adapter'
require 'quick_travel/bed_requirement'
require 'quick_travel/passenger_price_break'
require 'quick_travel/product_type'

module QuickTravel
  class Resource < Adapter
    self.api_base = '/resources'

    def sub_resources
      Resource.find_all!('/resources.json', parent_resource_id: @id)
    end

    def product_type
      QuickTravel::ProductType.find(product_type_id)
    end

    def bed_requirements
      @_bed_requirements ||= Array.wrap(@bed_requirements).map do |bed_requirement|
        BedRequirement.new(bed_requirement)
      end
    end
  end
end
```
assistant