Class: Clickatellsend::Configuration

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#api_idObject

Returns the value of attribute api_id.



13
14
15
# File 'lib/clickatellsend/clickatell_config.rb', line 13

def api_id
  @api_id
end

#passwordObject

Returns the value of attribute password.



13
14
15
# File 'lib/clickatellsend/clickatell_config.rb', line 13

def password
  @password
end

#urlObject

Returns the value of attribute url.



13
14
15
# File 'lib/clickatellsend/clickatell_config.rb', line 13

def url
  @url
end

#userObject

Returns the value of attribute user.



13
14
15
# File 'lib/clickatellsend/clickatell_config.rb', line 13

def user
  @user
end

Instance Method Details

#configObject



14
15
16
17
18
19
# File 'lib/clickatellsend/clickatell_config.rb', line 14

def config
  {:url => @url,
   :user => @user,
   :password => @password,
   :api_id => @api_id}
end