module TicketMaster::Provider::Bugherd
Constants
- PROJECT_API
TICKET_API =
Bugherd::Ticket
# The class to access the api's tickets
Public Class Methods
new(auth = {})
click to toggle source
This is for cases when you want to instantiate using TicketMaster::Provider::Bugherd.new(auth)
# File lib/provider/bugherd.rb, line 9 def self.new(auth = {}) TicketMaster.new(:bugherd, auth) end
Public Instance Methods
valid?()
click to toggle source
declare needed overloaded methods here
# File lib/provider/bugherd.rb, line 26 def valid? begin !BugherdAPI::User.find(:first).nil? rescue false end end