Class: Configuration

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



7
8
9
10
11
12
# File 'lib/websms/configuration.rb', line 7

def initialize
  self.api_user = ''
  self.api_password = ''
  self.client_id = nil
  self.alfanum_from = nil
end

Instance Attribute Details

#alfanum_fromObject

Returns the value of attribute alfanum_from.



2
3
4
# File 'lib/websms/configuration.rb', line 2

def alfanum_from
  @alfanum_from
end

#api_passwordObject

Returns the value of attribute api_password.



2
3
4
# File 'lib/websms/configuration.rb', line 2

def api_password
  @api_password
end

#api_userObject

Returns the value of attribute api_user.



2
3
4
# File 'lib/websms/configuration.rb', line 2

def api_user
  @api_user
end

#client_idObject

Returns the value of attribute client_id.



2
3
4
# File 'lib/websms/configuration.rb', line 2

def client_id
  @client_id
end