Skip to content

Having trouble cancelling a Bare Metal Server.  #82

@thejohnlin

Description

@thejohnlin

I'm running into a NoMethodError originating from the .billingItem call in the SoftLayer::BareMetalServer.cancel! method.

Code Snippet:
bm = SoftLayer::BareMetalServer.server_with_id(id, options = {}) bm.cancel!(:unneeded, '')

c:/Ruby193/lib/ruby/gems/1.9.1/gems/softlayer_api-3.0.0/lib/softlayer/BareMetalServer.rb:53:in cancel!': undefined method billingItem' for #<SoftLayer::BareMetalServer:0x428a318, jhlintestbm> (NoMethodError)

Any input would be greatly appreciated, thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions