Sha256: a3cba658d91812feaa6ee69c9fde551f21599205224a15b7346af8fff5939d71

Contents?: true

Size: 246 Bytes

Versions: 10

Compression:

Stored size: 246 Bytes

Contents

module MongoDbUtils
  module Model

   class Bucket
    attr_accessor :name, :access_key, :secret_key

    def to_s
      "#{name} | #{access_key} | #{secret_key}"
    end

    def <=> (other)
      self.name <=> other.name
    end
  end

end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
mongo-db-utils-0.2.1 lib/mongo-db-utils/models/bucket.rb
mongo-db-utils-0.2.0 lib/mongo-db-utils/models/bucket.rb
mongo-db-utils-0.1.6 lib/mongo-db-utils/models/bucket.rb
mongo-db-utils-0.1.5 lib/mongo-db-utils/models/bucket.rb
mongo-db-utils-0.1.4 lib/mongo-db-utils/models/bucket.rb
mongo-db-utils-0.1.3 lib/mongo-db-utils/models/bucket.rb
mongo-db-utils-0.1.2 lib/mongo-db-utils/models/bucket.rb
mongo-db-utils-0.1.0 lib/mongo-db-utils/models/bucket.rb
mongo-db-utils-0.0.9.3 lib/mongo-db-utils/models/bucket.rb
mongo-db-utils-0.0.9.2 lib/mongo-db-utils/models/bucket.rb