class BlackStack::NextBot::BaseRemoteObject

The “remote” (or API class) that will be receive the data from an API call.

Attributes

descriptor[RW]

Public Instance Methods

build(h) click to toggle source

Attributes initialization from a hash descritor. This base method will map the “h” parameter to the “descriptor” attribute,

> in order to keep a copy of it.

# File lib/remotebaseobject.rb, line 10
def build(h)
  self.descriptor = h.clone
end