Exception: Bipbop::Client::Exception

Inherits:
Exception
  • Object
show all
Defined in:
lib/bipbop/exception.rb

Constant Summary collapse

INVALID_ARGUMENT =
1

Instance Method Summary collapse

Instance Method Details

#get_bipbop_codeObject



12
13
14
# File 'lib/bipbop/exception.rb', line 12

def get_bipbop_code
  @bipbop_code
end

#get_bipbop_idObject



20
21
22
# File 'lib/bipbop/exception.rb', line 20

def get_bipbop_id
  @bipbop_id
end

#get_bipbop_messageObject



24
25
26
# File 'lib/bipbop/exception.rb', line 24

def get_bipbop_message
  @bipbop_message
end

#get_bipbop_pushableObject



28
29
30
# File 'lib/bipbop/exception.rb', line 28

def get_bipbop_pushable
  @bipbop_pushable
end

#get_bipbop_sourceObject



16
17
18
# File 'lib/bipbop/exception.rb', line 16

def get_bipbop_source
  @bipbop_source
end

#set_attributes(code, source, id, message, pushable) ⇒ Object



32
33
34
35
36
37
38
# File 'lib/bipbop/exception.rb', line 32

def set_attributes(code, source, id, message, pushable)
  @bipbop_code = code
  @bipbop_source = source
  @bipbop_id = id
  @bipbop_message = message
  @bipbop_pushable = pushable
end