Class: Githu3::Ref

Inherits:
Resource show all
Defined in:
lib/githu3/ref.rb

Instance Method Summary collapse

Methods inherited from Resource

#_attributes, #_path, #get, #id, #initialize, #method_missing

Methods included from Relations

#embeds_many, #embeds_one, #has_many

Constructor Details

This class inherits a constructor from Githu3::Resource

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Githu3::Resource

Instance Method Details

#to_sObject



4
5
6
# File 'lib/githu3/ref.rb', line 4

def to_s
  url || html_url
end