class Phraseapp::Rest::Resource::Project
Public Class Methods
new(client:)
click to toggle source
# File lib/phraseapp-rest/resource/project.rb, line 12 def initialize(client:) @client = client @path = '/projects' end
Public Instance Methods
get(id:)
click to toggle source
# File lib/phraseapp-rest/resource/project.rb, line 17 def get(id:) Parser.parse(@client.get("#{@path}/#{id}")) end