Sha256: 20394ade98baa63afa9aa5f765543c0dacf3c20275ab9a6e332123c7a68df170

Contents?: true

Size: 278 Bytes

Versions: 4

Compression:

Stored size: 278 Bytes

Contents

# frozen_string_literal: true

require_relative 'user'

module Redd
  module Models
    # The user that the bot is running under.
    class Self < User
      private

      def lazer_reload
        fully_loaded!
        client.get('/api/v1/me').body
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
spinels-redd-0.9.0 lib/redd/models/self.rb
redd-0.9.0.pre.3 lib/redd/models/self.rb
redd-0.9.0.pre.2 lib/redd/models/self.rb
redd-0.9.0.pre.1 lib/redd/models/self.rb