Sha256: aa395d3c3b4182377a384332bfcf330d530da5465d694d6704a113a63ccda7fd

Contents?: true

Size: 580 Bytes

Versions: 11

Compression:

Stored size: 580 Bytes

Contents

module Access
  class Amt
    include Access::MuchMeta

    def self.import(members = [], options = {})
      Access::Api.new.import_members members, options
    end

    def self.list(options = {})
      Access::Api.new.list_imports options
    end

    def self.show(import_key, options = {})
      Access::Api.new.show_import import_key, options
    end

    def self.process_batch(chunk)
      chunk.map { |member_import| new(member_import) }
    end

    def initialize(values)
      @used_fields = []
      set_up_methods(values)
      set_values(values)
    end

  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
access-2.3.0.pre.rc2 lib/access/amt.rb
access-2.3.0.pre.rc1 lib/access/amt.rb
access-2.2.0 lib/access/amt.rb
access-2.1.5 lib/access/amt.rb
access-2.1.4 lib/access/amt.rb
access-2.1.3 lib/access/amt.rb
access-2.1.2 lib/access/amt.rb
access-2.1.1 lib/access/amt.rb
access-2.1.0 lib/access/amt.rb
access-2.0.55 lib/access/amt.rb
access-2.0.54 lib/access/amt.rb