Class: Firecrawl::Models::MenuProfile::Merchant
- Inherits:
-
Object
- Object
- Firecrawl::Models::MenuProfile::Merchant
- Defined in:
- lib/firecrawl/models/menu_profile.rb
Overview
Merchant (restaurant/business) profile for the menu.
Instance Attribute Summary collapse
-
#location ⇒ Object
readonly
Returns the value of attribute location.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(data) ⇒ Merchant
constructor
A new instance of Merchant.
Constructor Details
#initialize(data) ⇒ Merchant
Returns a new instance of Merchant.
44 45 46 47 48 49 |
# File 'lib/firecrawl/models/menu_profile.rb', line 44 def initialize(data) data ||= {} @name = data["name"] @type = data["type"] @location = data["location"] end |
Instance Attribute Details
#location ⇒ Object (readonly)
Returns the value of attribute location.
42 43 44 |
# File 'lib/firecrawl/models/menu_profile.rb', line 42 def location @location end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
42 43 44 |
# File 'lib/firecrawl/models/menu_profile.rb', line 42 def name @name end |
#type ⇒ Object (readonly)
Returns the value of attribute type.
42 43 44 |
# File 'lib/firecrawl/models/menu_profile.rb', line 42 def type @type end |