class Codestrap::Object::Standard::Rest

REST derived objects

Create objects from codestraps builtin remote REST server

Public Class Methods

objects() click to toggle source
# File lib/codestrap/object/standard/rest.rb, line 17
def objects
  objects = {}
  if clients
    Array(clients).each do |client|
      objects = client.getobjects
    end
  end
  objects
end
weight() click to toggle source

Object(s) weight @return [Integer]

# File lib/codestrap/object/standard/rest.rb, line 13
def weight
  50
end