Sha256: b072975d0a338b4e9bf9c51dd662029446a391d1a17bd6bd0dcd4e7bf5c0f7ce
Contents?: true
Size: 408 Bytes
Versions: 1
Compression:
Stored size: 408 Bytes
Contents
module TrackerApi module Endpoints class Project attr_accessor :client def initialize(client) @client = client end def get(id, params={}) data = client.request( method: :get, path: "/projects/#{id}", params: params ).body Resources::Project.new({ client: client }.merge(data)) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
tracker_api-0.1.0 | lib/tracker_api/endpoints/project.rb |