Class: Travis::Client::Account

Inherits:
Entity
  • Object
show all
Defined in:
lib/travis/client/account.rb

Constant Summary

Constants inherited from Entity

Entity::MAP

Instance Attribute Summary

Attributes inherited from Entity

#attributes, #curry, #id, #session

Instance Method Summary collapse

Methods inherited from Entity

#[], #[]=, aka, #attribute_names, attributes, #cancelable?, cast_id, #complete?, has, #include?, #initialize, #inspect, inspect_info, #load, many, #missing?, one, relations, #relations, #reload, #restartable?, subclass_for, subclasses, time, #update_attributes

Constructor Details

This class inherits a constructor from Travis::Client::Entity

Instance Method Details

#subscribedObject



13
14
15
# File 'lib/travis/client/account.rb', line 13

def subscribed
  attributes.fetch('subscribed') { true }
end