Class: One40Proof::Status

Inherits:
Object
  • Object
show all
Defined in:
lib/one40_proof/attributes/status.rb

Instance Method Summary collapse

Constructor Details

#initialize(data) ⇒ Status

Returns a new instance of Status.



4
5
6
# File 'lib/one40_proof/attributes/status.rb', line 4

def initialize(data)
  @data = data
end

Instance Method Details

#idObject



8
9
10
# File 'lib/one40_proof/attributes/status.rb', line 8

def id
  @data['id']
end