Module: MainsmsApi::Common

Included in:
Balance, Info, Message, Price, Status
Defined in:
lib/mainsms_api/common.rb

Instance Method Summary collapse

Instance Method Details

#responseObject



3
4
5
# File 'lib/mainsms_api/common.rb', line 3

def response
  @response ||= Hashie::Mash.new(JSON.parse(response_body))
end