Class: Smess::HttpBase

Inherits:
Output
  • Object
show all
Includes:
Logging
Defined in:
lib/smess/outputs/http_base.rb

Direct Known Subclasses

CardBoardFish, GlobalMouth, LinkMobility, Smsglobal

Instance Attribute Summary

Attributes inherited from Output

#config

Instance Method Summary collapse

Methods included from Logging

#logger

Methods inherited from Output

#check, #deliver, #send_feedback, #validate_config, #verify

Constructor Details

#initialize(config) ⇒ HttpBase

Returns a new instance of HttpBase.



8
9
10
11
# File 'lib/smess/outputs/http_base.rb', line 8

def initialize(config)
  super
  HTTPI.log_level = :debug
end

Instance Method Details

#sender_idObject



14
15
16
# File 'lib/smess/outputs/http_base.rb', line 14

def sender_id
  @sender_id || Smess.config.default_sender_id
end