Exception: CzechPostB2bClient::B2BErrors::BaseError

Inherits:
Error
  • Object
show all
Defined in:
lib/czech_post_b2b_client/b2b_errors.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.codeObject



30
31
32
# File 'lib/czech_post_b2b_client/b2b_errors.rb', line 30

def self.code
  @code
end

.messageObject



34
35
36
# File 'lib/czech_post_b2b_client/b2b_errors.rb', line 34

def self.message
  @message
end

Instance Method Details

#codeObject



38
39
40
# File 'lib/czech_post_b2b_client/b2b_errors.rb', line 38

def code
  self.class.code
end

#messageObject



42
43
44
# File 'lib/czech_post_b2b_client/b2b_errors.rb', line 42

def message
  self.class.message
end