class Circler::Step

Attributes

status[R]
type[R]

Public Class Methods

new(type, hash) click to toggle source
# File lib/circler/response/step.rb, line 8
def initialize(type, hash)
  @type = type
  @status = hash['status']
  @hash = hash
end

Public Instance Methods

actions() click to toggle source
# File lib/circler/response/step.rb, line 14
def actions
  @hash['actions'].map { |a| Action.new(a) }
end