Module: Copy::Operations::Meta::ClassMethods

Defined in:
lib/copy/operations/meta.rb

Instance Method Summary collapse

Instance Method Details

#meta(attributes = {}) ⇒ Copy::Base

Shows a given object

Parameters:

  • id (Integer)

    The id of the object that should be shown

Returns:



9
10
11
12
# File 'lib/copy/operations/meta.rb', line 9

def meta(attributes={})
  response = Copy.request(:get, nil, 'meta/' + api_member_url(attributes[:id], :meta), {}, options_for_request(attributes))
  self.new(response)
end