Class: Cloudflair::ResponseBuffering

Inherits:
Object
  • Object
show all
Includes:
Entity
Defined in:
lib/cloudflair/api/zone/settings/response_buffering.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Entity

#data=, #delete, included, #method_missing, #patch, #reload, #respond_to_missing?, #revert, #update

Methods included from Communication

#connection, #hash_to_object, #response

Constructor Details

#initialize(zone_id) ⇒ ResponseBuffering

Returns a new instance of ResponseBuffering.



14
15
16
# File 'lib/cloudflair/api/zone/settings/response_buffering.rb', line 14

def initialize(zone_id)
  @zone_id = zone_id
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Cloudflair::Entity

Instance Attribute Details

#zone_idObject (readonly)

Returns the value of attribute zone_id.



9
10
11
# File 'lib/cloudflair/api/zone/settings/response_buffering.rb', line 9

def zone_id
  @zone_id
end

Instance Method Details

#valueObject



18
19
20
# File 'lib/cloudflair/api/zone/settings/response_buffering.rb', line 18

def value
  _raw_data!
end