Sha256: 54cc066ea9a006e1d5afb21f9b509716b6b33c163d5b59433c1a2945a2b59771
Contents?: true
Size: 592 Bytes
Versions: 14
Compression:
Stored size: 592 Bytes
Contents
module Access class Token include Access::MuchMeta def self.search(options = {}) # Internal Admin only Call Access::Api.new.search_tokens options end def self.find(token, options = {}) # Internal Admin only Call Access::Api.new.find_token token, options end def self.process_batch(chunk) chunk.map { |token| new(token) } end def initialize(values) @used_fields = [] set_up_methods(values) set_values(values) @links = Access::Link.new(@links) if @links end def has_scope? end end end
Version data entries
14 entries across 14 versions & 1 rubygems