lib/travis/client/account.rb in travis-1.4.0 vs lib/travis/client/account.rb in travis-1.5.0

- old
+ new

@@ -1,14 +1,18 @@ require 'travis/client' module Travis module Client class Account < Entity - attributes :name, :login, :type, :repos_count + attributes :name, :login, :type, :repos_count, :subscribed one :account many :accounts inspect_info :login + + def subscribed + attributes.fetch('subscribed') { true } + end end end end