class Ticketfly::Headliner

Attributes

id[RW]
json[RW]
name[RW]

Public Class Methods

build(json) click to toggle source
# File lib/ticketfly.rb, line 37
def self.build(json)
  headliner = Headliner.new
  headliner.id = json['id']
  headliner.name = json['name']
  headliner.json = json
  headliner
end