Class: LucidIntercom::Attributes
- Inherits:
-
Object
- Object
- LucidIntercom::Attributes
- Extended by:
- Dry::Initializer
- Defined in:
- lib/lucid_intercom/attributes.rb
Direct Known Subclasses
Instance Method Summary collapse
-
#app_data ⇒ Hash
App attributes (unprefixed).
-
#shopify_data ⇒ Hash
Shop attributes as returned by the Shopify API.
- #to_h(convert: Container[:convert]) ⇒ Hash abstract
Instance Method Details
#app_data ⇒ Hash
Returns app attributes (unprefixed).
12 |
# File 'lib/lucid_intercom/attributes.rb', line 12 param :app_data, reader: :private, default: -> { {} } |
#shopify_data ⇒ Hash
Returns shop attributes as returned by the Shopify API.
10 |
# File 'lib/lucid_intercom/attributes.rb', line 10 param :shopify_data, reader: :private |
#to_h(convert: Container[:convert]) ⇒ Hash
This method is abstract.
21 22 23 |
# File 'lib/lucid_intercom/attributes.rb', line 21 def to_h(convert: Container[:convert]) convert.({}) end |