Class: ShopifyApiBruv::Auth::Config
- Inherits:
-
Object
- Object
- ShopifyApiBruv::Auth::Config
- Defined in:
- lib/shopify_api_bruv/auth/config.rb
Instance Attribute Summary collapse
-
#api_access_token ⇒ Object
readonly
Returns the value of attribute api_access_token.
-
#api_domain ⇒ Object
readonly
Returns the value of attribute api_domain.
-
#api_version ⇒ Object
readonly
Returns the value of attribute api_version.
Instance Method Summary collapse
-
#initialize(api_domain:, api_version:, api_access_token:) ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize(api_domain:, api_version:, api_access_token:) ⇒ Config
Returns a new instance of Config.
8 9 10 11 12 |
# File 'lib/shopify_api_bruv/auth/config.rb', line 8 def initialize(api_domain:, api_version:, api_access_token:) @api_domain = api_domain @api_version = api_version @api_access_token = api_access_token end |
Instance Attribute Details
#api_access_token ⇒ Object (readonly)
Returns the value of attribute api_access_token.
6 7 8 |
# File 'lib/shopify_api_bruv/auth/config.rb', line 6 def api_access_token @api_access_token end |
#api_domain ⇒ Object (readonly)
Returns the value of attribute api_domain.
6 7 8 |
# File 'lib/shopify_api_bruv/auth/config.rb', line 6 def api_domain @api_domain end |
#api_version ⇒ Object (readonly)
Returns the value of attribute api_version.
6 7 8 |
# File 'lib/shopify_api_bruv/auth/config.rb', line 6 def api_version @api_version end |