Exception: Untappd::Error

Inherits:
StandardError
  • Object
show all
Defined in:
lib/untappd-api/error.rb

Instance Attribute Summary collapse

Instance Attribute Details

#codeObject

Returns the value of attribute code.



2
3
4
# File 'lib/untappd-api/error.rb', line 2

def code
  @code
end

#detailObject

Returns the value of attribute detail.



2
3
4
# File 'lib/untappd-api/error.rb', line 2

def detail
  @detail
end

#typeObject

Returns the value of attribute type.



2
3
4
# File 'lib/untappd-api/error.rb', line 2

def type
  @type
end