Class: BucketSdk::Models::LoadResponse

Inherits:
Object
  • Object
show all
Defined in:
lib/bucket_sdk/models/load_response.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(data) ⇒ LoadResponse

Returns a new instance of LoadResponse.



8
9
10
# File 'lib/bucket_sdk/models/load_response.rb', line 8

def initialize(data)
  @url = data["url"]
end

Instance Attribute Details

#urlObject (readonly)

Returns the value of attribute url.



6
7
8
# File 'lib/bucket_sdk/models/load_response.rb', line 6

def url
  @url
end

Instance Method Details

#to_hObject



12
13
14
15
16
# File 'lib/bucket_sdk/models/load_response.rb', line 12

def to_h
  {
    url: url
  }
end