Sha256: 5564151a68ed41eb4d21f566df2ee32d461cc43ad4882998fe69acc4483ba0e3

Contents?: true

Size: 238 Bytes

Versions: 11

Compression:

Stored size: 238 Bytes

Contents

require 'quick_travel/adapter'

module QuickTravel
  class Package < Adapter
    attr_reader :error_message

    self.api_base = '/api/packages'

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

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
quicktravel_client-4.7.0 lib/quick_travel/package.rb
quicktravel_client-4.6.0 lib/quick_travel/package.rb
quicktravel_client-4.5.0 lib/quick_travel/package.rb
quicktravel_client-4.4.0 lib/quick_travel/package.rb
quicktravel_client-4.3.2 lib/quick_travel/package.rb
quicktravel_client-4.3.1 lib/quick_travel/package.rb
quicktravel_client-4.3.0 lib/quick_travel/package.rb
quicktravel_client-4.2.0 lib/quick_travel/package.rb
quicktravel_client-4.1.0 lib/quick_travel/package.rb
quicktravel_client-4.0.0 lib/quick_travel/package.rb
quicktravel_client-3.9.0 lib/quick_travel/package.rb