Class: Etapper::API::SortOption

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

Overview

etapestryAPI/serviceSortOption

ascending - SOAP::SOAPBoolean
field - SOAP::SOAPString

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(ascending = nil, field = nil) ⇒ SortOption

Returns a new instance of SortOption.



2206
2207
2208
2209
# File 'lib/etapper/api/service.rb', line 2206

def initialize(ascending = nil, field = nil)
  @ascending = ascending
  @field = field
end

Instance Attribute Details

#ascendingObject

Returns the value of attribute ascending.



2203
2204
2205
# File 'lib/etapper/api/service.rb', line 2203

def ascending
  @ascending
end

#fieldObject

Returns the value of attribute field.



2204
2205
2206
# File 'lib/etapper/api/service.rb', line 2204

def field
  @field
end