Class: Mavenlink::TimeEntry

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

Instance Attribute Summary

Attributes inherited from Base

#basic_auth, #errors, #json, #path_params

Instance Method Summary collapse

Methods inherited from Base

#as_json, #delete_request, #destroy, #get_request, #id, #initialize, #join_paths, #post_request, #put_request, #reload, #request_path, #update

Constructor Details

This class inherits a constructor from Mavenlink::Base

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Mavenlink::Base

Instance Method Details

#story(options = {}) ⇒ Object



190
191
192
# File 'lib/mavenlink/client.rb', line 190

def story(options = {})
  fetch("../../stories/#{json['story_id']}", Story, options, :workspace_id => workspace_id) if json['story_id']
end

#workspace(options = {}) ⇒ Object



194
195
196
# File 'lib/mavenlink/client.rb', line 194

def workspace(options = {})
  fetch("../..", Workspace, options)
end