Class: ActiveShopifyGraphQL::Configuration
- Inherits:
-
Object
- Object
- ActiveShopifyGraphQL::Configuration
- Defined in:
- lib/active_shopify_graphql/configuration.rb
Overview
Configuration class for setting up external dependencies
Instance Attribute Summary collapse
-
#admin_api_executor ⇒ Object
Returns the value of attribute admin_api_executor.
-
#customer_account_api_executor ⇒ Object
Returns the value of attribute customer_account_api_executor.
-
#log_queries ⇒ Object
Returns the value of attribute log_queries.
-
#logger ⇒ Object
Returns the value of attribute logger.
-
#max_objects_per_paginated_query ⇒ Object
Returns the value of attribute max_objects_per_paginated_query.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
8 9 10 11 12 13 14 |
# File 'lib/active_shopify_graphql/configuration.rb', line 8 def initialize @admin_api_executor = nil @customer_account_api_executor = nil @logger = nil @log_queries = false @max_objects_per_paginated_query = 250 end |
Instance Attribute Details
#admin_api_executor ⇒ Object
Returns the value of attribute admin_api_executor.
6 7 8 |
# File 'lib/active_shopify_graphql/configuration.rb', line 6 def admin_api_executor @admin_api_executor end |
#customer_account_api_executor ⇒ Object
Returns the value of attribute customer_account_api_executor.
6 7 8 |
# File 'lib/active_shopify_graphql/configuration.rb', line 6 def customer_account_api_executor @customer_account_api_executor end |
#log_queries ⇒ Object
Returns the value of attribute log_queries.
6 7 8 |
# File 'lib/active_shopify_graphql/configuration.rb', line 6 def log_queries @log_queries end |
#logger ⇒ Object
Returns the value of attribute logger.
6 7 8 |
# File 'lib/active_shopify_graphql/configuration.rb', line 6 def logger @logger end |
#max_objects_per_paginated_query ⇒ Object
Returns the value of attribute max_objects_per_paginated_query.
6 7 8 |
# File 'lib/active_shopify_graphql/configuration.rb', line 6 def max_objects_per_paginated_query @max_objects_per_paginated_query end |