Class: Io::Flow::V0::Clients::PriceBookItemExportOptions
- Inherits:
-
Object
- Object
- Io::Flow::V0::Clients::PriceBookItemExportOptions
- Defined in:
- lib/flow_commerce/flow_api_v0_client.rb
Instance Method Summary collapse
- #get(organization) ⇒ Object
-
#initialize(client) ⇒ PriceBookItemExportOptions
constructor
A new instance of PriceBookItemExportOptions.
Constructor Details
#initialize(client) ⇒ PriceBookItemExportOptions
Returns a new instance of PriceBookItemExportOptions.
8050 8051 8052 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 8050 def initialize(client) @client = HttpClient::Preconditions.assert_class('client', client, ::Io::Flow::V0::Client) end |
Instance Method Details
#get(organization) ⇒ Object
8054 8055 8056 8057 8058 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 8054 def get(organization) HttpClient::Preconditions.assert_class('organization', organization, String) r = @client.request("/#{CGI.escape(organization)}/export/options/price_book_item").get ::Io::Flow::V0::Models::PriceBookItemExportOptions.new(r) end |