Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initialize issue #21

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Verifying that first / @system_data[:client] exists on initialize.
  • Loading branch information
jbarket committed Feb 8, 2012
commit 6b76a7a6ff4148e24ddf4bead319b65e15fb6533
4 changes: 2 additions & 2 deletions lib/ticketmaster/common.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ def initialize(*options)
super(first.to_hash)
else
@system_data[:client] = first
self.prefix_options ||= @system_data[:client].prefix_options if @system_data[:client].prefix_options
super(first.attributes)
self.prefix_options ||= @system_data[:client].prefix_options if @system_data[:client] and @system_data[:client].prefix_options
super(first.attributes) if first
end
end

Expand Down