Class: NVX::SDS::AccountLimit

Inherits:
Object
  • Object
show all
Defined in:
lib/nvx/sds/apiclasses/accountlimit.rb

Overview

AccountLimit holds the account limit information.

Instance Method Summary collapse

Constructor Details

#initialize(type, value) ⇒ AccountLimit

stores the limit type and value for that limit.



9
10
11
12
# File 'lib/nvx/sds/apiclasses/accountlimit.rb', line 9

def initialize(type, value)
    @type = type
    @value = value
end

Instance Method Details

#typeObject

Returns the limit type.



15
16
17
# File 'lib/nvx/sds/apiclasses/accountlimit.rb', line 15

def type
    @type
end

#type=(type) ⇒ Object

Sets the limit type.



20
21
22
# File 'lib/nvx/sds/apiclasses/accountlimit.rb', line 20

def type=(type)
    @type=type
end

#valueObject

Returns the value for the limit.



25
26
27
# File 'lib/nvx/sds/apiclasses/accountlimit.rb', line 25

def value
    @value
end

#value=(value) ⇒ Object

Sets the value for the limit.



30
31
32
# File 'lib/nvx/sds/apiclasses/accountlimit.rb', line 30

def value=(value)
    @value=value
end