Class: Leetchi::Operation

Inherits:
Ressource show all
Defined in:
lib/leetchi/operation.rb

Overview

Operation

Class Method Summary collapse

Class Method Details

.get(operation_id) ⇒ Object

Get an operation

  • Args :

    • operation_id -> The id of the operation you want to retrieve

  • Returns :

    • An operation object



12
13
14
# File 'lib/leetchi/operation.rb', line 12

def self.get(operation_id)
    get_request(File.join('operations', operation_id.to_s))
end