Class: MobilyApiAuth
- Inherits:
-
Object
- Object
- MobilyApiAuth
- Defined in:
- lib/mobily/mobily_api_auth.rb
Instance Attribute Summary collapse
-
#mobile_number ⇒ Object
Returns the value of attribute mobile_number.
-
#password ⇒ Object
Returns the value of attribute password.
Instance Method Summary collapse
-
#initialize(mobile_number, password) ⇒ MobilyApiAuth
constructor
A new instance of MobilyApiAuth.
Constructor Details
#initialize(mobile_number, password) ⇒ MobilyApiAuth
Returns a new instance of MobilyApiAuth.
4 5 6 7 |
# File 'lib/mobily/mobily_api_auth.rb', line 4 def initialize(mobile_number, password) @mobile_number = mobile_number @password = password end |
Instance Attribute Details
#mobile_number ⇒ Object
Returns the value of attribute mobile_number.
2 3 4 |
# File 'lib/mobily/mobily_api_auth.rb', line 2 def mobile_number @mobile_number end |
#password ⇒ Object
Returns the value of attribute password.
2 3 4 |
# File 'lib/mobily/mobily_api_auth.rb', line 2 def password @password end |