Class: ShopifySalesChannel::Store
- Inherits:
-
Object
- Object
- ShopifySalesChannel::Store
- Includes:
- Integrations
- Defined in:
- lib/shopify_sales_channel.rb
Instance Attribute Summary collapse
-
#access_token ⇒ Object
Returns the value of attribute access_token.
-
#client_id ⇒ Object
Returns the value of attribute client_id.
-
#client_secret ⇒ Object
Returns the value of attribute client_secret.
-
#code ⇒ Object
Returns the value of attribute code.
-
#url ⇒ Object
Returns the value of attribute url.
-
#webhook_address ⇒ Object
Returns the value of attribute webhook_address.
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Store
constructor
A new instance of Store.
Methods included from Integrations
#add_tag_to_order, #check_products, #count_products, #get_access_token, #get_order, #get_store_details, included, #set_webhooks, #sync_orders
Constructor Details
#initialize(options = {}) ⇒ Store
Returns a new instance of Store.
21 22 23 24 25 |
# File 'lib/shopify_sales_channel.rb', line 21 def initialize(={}) self.url = [:url] self.access_token = [:access_token] self.code = [:code] end |
Instance Attribute Details
#access_token ⇒ Object
Returns the value of attribute access_token.
17 18 19 |
# File 'lib/shopify_sales_channel.rb', line 17 def access_token @access_token end |
#client_id ⇒ Object
Returns the value of attribute client_id.
17 18 19 |
# File 'lib/shopify_sales_channel.rb', line 17 def client_id @client_id end |
#client_secret ⇒ Object
Returns the value of attribute client_secret.
17 18 19 |
# File 'lib/shopify_sales_channel.rb', line 17 def client_secret @client_secret end |
#code ⇒ Object
Returns the value of attribute code.
17 18 19 |
# File 'lib/shopify_sales_channel.rb', line 17 def code @code end |
#url ⇒ Object
Returns the value of attribute url.
17 18 19 |
# File 'lib/shopify_sales_channel.rb', line 17 def url @url end |
#webhook_address ⇒ Object
Returns the value of attribute webhook_address.
17 18 19 |
# File 'lib/shopify_sales_channel.rb', line 17 def webhook_address @webhook_address end |