Sha256: f858f58b52ac13ec8ac1dd15ad9d4c299684f6088e08a535561e187e26ce647a
Contents?: true
Size: 619 Bytes
Versions: 16
Compression:
Stored size: 619 Bytes
Contents
require 'travis/client' module Travis module Client class User < Entity # @!parse attr_reader :login, :name, :email, :gravatar_id, :locale, :is_syncing, :synced_at, :correct_scopes attributes :login, :name, :email, :gravatar_id, :locale, :is_syncing, :synced_at, :correct_scopes inspect_info :login one :user many :users def synced_at=(time) set_attribute(:synced_at, time(time)) end def sync session.post_raw('/users/sync') reload end alias syncing? is_syncing alias correct_scopes? correct_scopes end end end
Version data entries
16 entries across 16 versions & 1 rubygems