Class: Qubell::Revision

Inherits:
Base
  • Object
show all
Defined in:
lib/qubell/revision.rb

Overview

Qubell revision class

Instance Attribute Summary

Attributes inherited from Base

#id, #name

Instance Method Summary collapse

Methods inherited from Base

#==, #initialize, #to_hash, #to_json, #to_s

Constructor Details

This class inherits a constructor from Qubell::Base

Instance Method Details

#instancesObject



6
7
8
9
10
# File 'lib/qubell/revision.rb', line 6

def instances
  Qubell::APICall.get("/revisions/#{id}/instances").map do |instance|
    Qubell::Instance.new(instance)
  end
end