class Yade::Project::Rest::Client::BaseService

base client

Public Class Methods

new(client) click to toggle source

initialize

# File lib/yade/project/rest/service/base_service.rb, line 12
def initialize(client)
  @client = client
end

Public Instance Methods

get(id) click to toggle source

get by id

# File lib/yade/project/rest/service/base_service.rb, line 22
def get(id)
  @client.get(id)
end
list() click to toggle source

list all

# File lib/yade/project/rest/service/base_service.rb, line 17
def list
  @client.list
end