class Shokkenki::Consumer::Model::Fixture

Attributes

arguments[R]
name[R]

Public Class Methods

new(attributes) click to toggle source
# File lib/shokkenki/consumer/model/fixture.rb, line 8
def initialize attributes
  @name = attributes[:name]
  @arguments = attributes[:arguments]
end

Public Instance Methods

to_hash() click to toggle source
# File lib/shokkenki/consumer/model/fixture.rb, line 13
def to_hash
  hash = {:name => @name}
  hash.merge!(:arguments => @arguments) if @arguments
  hash
end