Class: OverquotaInfoStruct

Inherits:
Object
  • Object
show all
Defined in:
lib/ovhrb/manager/manager.rb

Overview

http://soapi.ovh.com/manageroverquotaInfoStruct

Constant Summary collapse

@@schema_type =
"overquotaInfoStruct"
@@schema_ns =
"http://soapi.ovh.com/manager"
@@schema_element =
[["month", ["SOAP::SOAPString", XSD::QName.new(nil, "month")]], ["traffic", ["SOAP::SOAPInt", XSD::QName.new(nil, "traffic")]], ["hits", ["SOAP::SOAPInt", XSD::QName.new(nil, "hits")]]]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(month = nil, traffic = nil, hits = nil) ⇒ OverquotaInfoStruct

Returns a new instance of OverquotaInfoStruct.



4458
4459
4460
4461
4462
# File 'lib/ovhrb/manager/manager.rb', line 4458

def initialize(month = nil, traffic = nil, hits = nil)
  @month = month
  @traffic = traffic
  @hits = hits
end

Instance Attribute Details

#hitsObject

Returns the value of attribute hits.



4456
4457
4458
# File 'lib/ovhrb/manager/manager.rb', line 4456

def hits
  @hits
end

#monthObject

Returns the value of attribute month.



4454
4455
4456
# File 'lib/ovhrb/manager/manager.rb', line 4454

def month
  @month
end

#trafficObject

Returns the value of attribute traffic.



4455
4456
4457
# File 'lib/ovhrb/manager/manager.rb', line 4455

def traffic
  @traffic
end