class CEPH::Radosgw

Attributes

ipaddress[R]
uid[R]
user_password[R]
username[R]

Public Class Methods

new(options) click to toggle source
# File lib/ceph/radosgw.rb, line 8
def initialize(options)
  raise ArgumentError, "Missing :username." if !options[:username]
  raise ArgumentError, "Missing :ipaddress." if !options[:ipaddress]
  raise ArgumentError, "Missing :user_password." if !options[:user_password]

  @username = options.fetch(:username)
  @ipaddress = options.fetch(:ipaddress)
  @user_password = options.fetch(:user_password)
end