Class: Weimark::Application

Inherits:
Object
  • Object
show all
Defined in:
lib/weimark/client.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(application_attributes = {}) ⇒ Application

Returns a new instance of Application.



113
114
115
116
117
118
# File 'lib/weimark/client.rb', line 113

def initialize(application_attributes = {})
  @id = application_attributes['id']
  @timestamp = application_attributes['timestamp']
  @link = application_attributes['link']
  @status = application_attributes['status']
end

Instance Attribute Details

#idObject (readonly)

Returns the value of attribute id.



111
112
113
# File 'lib/weimark/client.rb', line 111

def id
  @id
end

Returns the value of attribute link.



111
112
113
# File 'lib/weimark/client.rb', line 111

def link
  @link
end

#statusObject (readonly)

Returns the value of attribute status.



111
112
113
# File 'lib/weimark/client.rb', line 111

def status
  @status
end

#timestampObject (readonly)

Returns the value of attribute timestamp.



111
112
113
# File 'lib/weimark/client.rb', line 111

def timestamp
  @timestamp
end