class App42::AppTab::Bandwidth

Attributes

bandwidth[RW]
currency[RW]
description[RW]
name[RW]
price[RW]
state[RW]
unit[RW]
user[RW]

Public Class Methods

new(usage) click to toggle source

This is a constructor that takes no parameter

# File lib/appTab/Usage.rb, line 116
def initialize(usage)
  usage.bandwidthList.push(self)
end

Public Instance Methods

to_s() click to toggle source

Returns the Usage Response in JSON format.

@return the response in JSON format.

# File lib/appTab/Usage.rb, line 126
def to_s
  return "Name : #{@name}" + "Price : #{@price}" + "Currency : #{@currency}" + "State : #{@state}" + "Description : #{@description}";
end