Class: Ibancom::Resources::IBAN::Scheme

Inherits:
Base
  • Object
show all
Defined in:
lib/ibancom/resources/iban/scheme.rb

Instance Attribute Summary collapse

Attributes inherited from Base

#response

Instance Method Summary collapse

Methods inherited from Base

#initialize, map

Constructor Details

This class inherits a constructor from Ibancom::Resources::Base

Instance Attribute Details

#codeObject

Returns the value of attribute code.



7
8
9
# File 'lib/ibancom/resources/iban/scheme.rb', line 7

def code
  @code
end

#supportedObject

Returns the value of attribute supported.



7
8
9
# File 'lib/ibancom/resources/iban/scheme.rb', line 7

def supported
  @supported
end

Instance Method Details

#supported?Boolean

Returns:

  • (Boolean)


10
11
12
# File 'lib/ibancom/resources/iban/scheme.rb', line 10

def supported?
  supported == "YES"
end