Class: Bianchi::USSD::Menu
- Inherits:
-
Object
- Object
- Bianchi::USSD::Menu
- Defined in:
- lib/bianchi/ussd/menu.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#options ⇒ Object
readonly
Returns the value of attribute options.
Instance Method Summary collapse
-
#initialize(name, options = {}) ⇒ Menu
constructor
A new instance of Menu.
Constructor Details
#initialize(name, options = {}) ⇒ Menu
Returns a new instance of Menu.
8 9 10 11 |
# File 'lib/bianchi/ussd/menu.rb', line 8 def initialize(name, = {}) @name = name.to_s @options = end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
6 7 8 |
# File 'lib/bianchi/ussd/menu.rb', line 6 def name @name end |
#options ⇒ Object (readonly)
Returns the value of attribute options.
6 7 8 |
# File 'lib/bianchi/ussd/menu.rb', line 6 def @options end |