Class: Firecrawl::Models::MenuProfile::Merchant

Inherits:
Object
  • Object
show all
Defined in:
lib/firecrawl/models/menu_profile.rb

Overview

Merchant (restaurant/business) profile for the menu.

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#locationObject (readonly)

Returns the value of attribute location.



42
43
44
# File 'lib/firecrawl/models/menu_profile.rb', line 42

def location
  @location
end

#nameObject (readonly)

Returns the value of attribute name.



42
43
44
# File 'lib/firecrawl/models/menu_profile.rb', line 42

def name
  @name
end

#typeObject (readonly)

Returns the value of attribute type.



42
43
44
# File 'lib/firecrawl/models/menu_profile.rb', line 42

def type
  @type
end