Exception: MinioRuby::InvalidEndpointError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/minio-ruby/error.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(msg = 'Invalid Endpoint Error', str) ⇒ InvalidEndpointError

Returns a new instance of InvalidEndpointError.



5
6
7
8
# File 'lib/minio-ruby/error.rb', line 5

def initialize(msg = 'Invalid Endpoint Error', str)
  @str = str
  super
end

Instance Attribute Details

#strObject (readonly)

Returns the value of attribute str.



3
4
5
# File 'lib/minio-ruby/error.rb', line 3

def str
  @str
end