Class: Crowdkit::Client::Statuses

Inherits:
API
  • Object
show all
Defined in:
lib/crowdkit/client/statuses.rb

Instance Attribute Summary

Attributes inherited from API

#auto_pagination, #client, #stored_params

Instance Method Summary collapse

Methods inherited from API

#arguments, extract_class_name, #initialize, namespace, #set, #with

Methods included from API::RequestMethods

#agent, #method

Constructor Details

This class inherits a constructor from Crowdkit::API

Instance Method Details

#get(*args) ⇒ Object Also known as: find



7
8
9
10
11
# File 'lib/crowdkit/client/statuses.rb', line 7

def get(*args)
  arguments(args, required: [:uuid])

  do_get("statuses/#{uuid}")
end

#id_keyObject



3
4
5
# File 'lib/crowdkit/client/statuses.rb', line 3

def id_key
  :uuid
end