Method: Metior::GitHub::Actor.id_for

Defined in:
lib/metior/github/actor.rb

.id_for(actor) ⇒ String

Returns the GitHub login as an identifier for the given actor.

Parameters:

  • actor (Hashie::Mash)

    The actor's data parsed from the JSON API

Returns:

  • (String)

     The GitHub login of the given actor

[View source]

24
25
26
# File 'lib/metior/github/actor.rb', line 24

def self.id_for(actor)
  actor.
end