Sha256: b954cd972052fde43c767fe897dc6bed5336316854e54ae8ecca38458051904c

Contents?: true

Size: 435 Bytes

Versions: 2

Compression:

Stored size: 435 Bytes

Contents

module Xolphin
  module Api
    module Responses
      class ProductPrice < Base
        def initialize(data)
          super(data)
        end

        def years
          @data["years"]
        end

        def price
          @data["price"]
        end

        def extra_price
          @data["extraPrice"]
        end

        def extra_price_wildcard
          @data["extraPriceWildcard"]
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
xolphin-api-1.9.0 lib/xolphin/api/responses/product_price.rb
xolphin-api-1.8.0 lib/xolphin/api/responses/product_price.rb