class Softlayer::Model::Limit
Public Class Methods
new(limit, offset = 0)
click to toggle source
# File lib/softlayer/model/limit.rb, line 4 def initialize(limit, offset = 0) @limit = limit @offset = offset end
Public Instance Methods
to_header()
click to toggle source
# File lib/softlayer/model/limit.rb, line 9 def to_header { 'resultLimit' => { 'limit' => @limit, 'offset' => @offset } } end