Class: Etapper::API::Phone

Inherits:
Object
  • Object
show all
Defined in:
lib/etapper/api/service.rb

Overview

etapestryAPI/servicePhone

number - SOAP::SOAPString
type - SOAP::SOAPString

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(number = nil, type = nil) ⇒ Phone

Returns a new instance of Phone.



153
154
155
156
# File 'lib/etapper/api/service.rb', line 153

def initialize(number = nil, type = nil)
  @number = number
  @type = type
end

Instance Attribute Details

#numberObject

Returns the value of attribute number.



150
151
152
# File 'lib/etapper/api/service.rb', line 150

def number
  @number
end

#typeObject

Returns the value of attribute type.



151
152
153
# File 'lib/etapper/api/service.rb', line 151

def type
  @type
end