Method: Github::API::Config#fetch
- Defined in:
- lib/github_api/api/config.rb
#fetch(value = nil) ⇒ Hash[Symbol]
Fetach all the properties and their values
83 84 85 86 87 88 89 |
# File 'lib/github_api/api/config.rb', line 83 def fetch(value = nil) if value self.class.property_set[value] else self.class.property_set.to_hash end end |