diff --git a/lib/ticketmaster/common.rb b/lib/ticketmaster/common.rb index dc3a30f..2eb68b7 100644 --- a/lib/ticketmaster/common.rb +++ b/lib/ticketmaster/common.rb @@ -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