class Bumbleworks::Api::EntityPresenter

Public Instance Methods

to_hash() click to toggle source
# File lib/bumbleworks/api/lib/presenters/entity_presenter.rb, line 4
def to_hash
  {
    :identifier => presented.identifier,
    :name => presented.to_s,
    :process_count => presented.processes.count
  }
end