Class: Beerbelly::Beer

Inherits:
Resource show all
Defined in:
lib/beerbelly/client/resources/beer.rb

Instance Attribute Summary collapse

Method Summary

Methods inherited from Resource

build

Instance Attribute Details

#abvObject

Returns the value of attribute abv.



7
8
9
# File 'lib/beerbelly/client/resources/beer.rb', line 7

def abv
  @abv
end

#breweryObject

Returns the value of attribute brewery.



7
8
9
# File 'lib/beerbelly/client/resources/beer.rb', line 7

def brewery
  @brewery
end

#created_atObject

Returns the value of attribute created_at.



7
8
9
# File 'lib/beerbelly/client/resources/beer.rb', line 7

def created_at
  @created_at
end

#descriptionObject

Returns the value of attribute description.



7
8
9
# File 'lib/beerbelly/client/resources/beer.rb', line 7

def description
  @description
end

#idObject

Returns the value of attribute id.



7
8
9
# File 'lib/beerbelly/client/resources/beer.rb', line 7

def id
  @id
end

#nameObject

Returns the value of attribute name.



7
8
9
# File 'lib/beerbelly/client/resources/beer.rb', line 7

def name
  @name
end

#updated_atObject

Returns the value of attribute updated_at.



7
8
9
# File 'lib/beerbelly/client/resources/beer.rb', line 7

def updated_at
  @updated_at
end