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

#valueObject

Returns the value for the limit.



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

def value
    @value
end