class Square::Connect::Merchant
Attributes
country_code[RW]
email[RW]
language_code[RW]
name[RW]
Public Class Methods
me(access_token)
click to toggle source
# File lib/square/connect/merchant.rb, line 21 def me(access_token) new :me, access_token end
new(*args)
click to toggle source
Calls superclass method
# File lib/square/connect/merchant.rb, line 11 def initialize(*args) super do |attributes| self.name = attributes[:name] self.email = attributes[:email] self.country_code = attributes[:country_code] self.language_code = attributes[:language_code] end end