Class: ExetelSms::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/config.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(username, password, mvn = nil) ⇒ Config

Returns a new instance of Config.



7
8
9
10
11
# File 'lib/config.rb', line 7

def initialize(username, password, mvn=nil)
  @username = username
  @password = password
  @mvn = mvn
end

Instance Attribute Details

#mvnObject (readonly)

Returns the value of attribute mvn.



5
6
7
# File 'lib/config.rb', line 5

def mvn
  @mvn
end

#passwordObject (readonly)

Returns the value of attribute password.



5
6
7
# File 'lib/config.rb', line 5

def password
  @password
end

#usernameObject (readonly)

Returns the value of attribute username.



5
6
7
# File 'lib/config.rb', line 5

def username
  @username
end