Module: Etsy::Model

Included in:
Address, Category, Country, Image, Listing, PaymentTemplate, Profile, Section, ShippingTemplate, Shop, Transaction, User
Defined in:
lib/etsy/model.rb

Overview

:nodoc:all

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.included(other) ⇒ Object



119
120
121
# File 'lib/etsy/model.rb', line 119

def self.included(other)
  other.extend ClassMethods
end

Instance Method Details

#initialize(result = nil, token = nil, secret = nil) ⇒ Object



101
102
103
104
105
# File 'lib/etsy/model.rb', line 101

def initialize(result = nil, token = nil, secret = nil)
  @result = result
  @token = token
  @secret = secret
end

#resultObject



115
116
117
# File 'lib/etsy/model.rb', line 115

def result
  @result
end

#secretObject



111
112
113
# File 'lib/etsy/model.rb', line 111

def secret
  @secret
end

#tokenObject



107
108
109
# File 'lib/etsy/model.rb', line 107

def token
  @token
end