class Deltacloud::Provider

Attributes

name[RW]
url[RW]

Public Class Methods

new(opts={}) click to toggle source
Calls superclass method Deltacloud::BaseModel.new
# File lib/deltacloud/models/provider.rb, line 24
def initialize(opts={})
  super(opts)
end

Public Instance Methods

to_hash(context) click to toggle source
# File lib/deltacloud/models/provider.rb, line 28
def to_hash(context)
  {
    :id => self.id,
    :name => name,
    :url => url
  }
end