class Psapi::BroadcastHistory

Public Class Methods

all() click to toggle source
# File lib/psapi/broadcast_history.rb, line 5
def all
  getBroadcastHistory.map do |hist|
    BroadcastHistory.new(hist)
  end
end
new(hash = {}) click to toggle source
Calls superclass method Psapi::API_Object::new
# File lib/psapi/broadcast_history.rb, line 17
def initialize(hash = {})
  super
end

Public Instance Methods

save() click to toggle source
# File lib/psapi/broadcast_history.rb, line 21
def save
  addBroadcastHistory(info: to_hash)
end