Method: Clickatell::API::Command#initialize

Defined in:
lib/clickatell/api/command.rb

#initialize(command_name, service = 'http', opts = {}) ⇒ Command



10
11
12
13
14
# File 'lib/clickatell/api/command.rb', line 10

def initialize(command_name, service = 'http', opts={})
  @command_name = command_name
  @service = service
  @options = { :secure => false }.merge(opts)
end