ticketfly_plus 0.2.2 → 0.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: df6243d40eb0813022586562929aeed4a16aec17
4
- data.tar.gz: 397319be25c9bfc7d17e13d92b53d7b432d7c99a
3
+ metadata.gz: bbbd4fea13c59ecdb0b46bda65a31355ab06260e
4
+ data.tar.gz: a711797eae99af769edea74178173def0037c9cd
5
5
  SHA512:
6
- metadata.gz: 3e76e174b127d575d0eda8dee82f3e6f8c123140b5ebc668a24a6ae528be5dfb182a7c2a4d26552cbb329e917724a0557ddbb8ce025e2687612fbbba68764ce9
7
- data.tar.gz: b8673cc357c157e2f6773f8c85afdc61b873a434a4f5ccec692b940806207c05165e4e9eb1bc28fc604dbf0d546de728f1948a9984f13588ec724ee3c88404ac
6
+ metadata.gz: ca8c4358049e0bac144e82ad3f9c7923bca0ff801cc7c1772ad181d62a58e94bb5cc1418e9a3f0fd8d1ebe4c56c6acacb487bded71325714c283c8c2dfb8a366
7
+ data.tar.gz: a99630ad220b639ce157bead729ef093872ada66e0b2b4e2bf68d5b7a9a68bc8a01fb97ac2b449e52e3242e84e307612c87e45ba360da656d88f25a013135e33
@@ -100,9 +100,8 @@ module TicketflyPlus
100
100
  @venue = !event['venue'].nil? ? Objects::Venue.new(event['venue']) : event['venue']
101
101
  end
102
102
 
103
- def share_a_sale
104
- if ENV['SHAREASALE']
105
- s_url = 'http://www.shareasale.com/r.cfm?u=' + ENV['SHAREASALE'].to_s + '&b=234786&m=27601&afftrack=&urllink='
103
+ def share_a_sale(shareasale)
104
+ s_url = 'http://www.shareasale.com/r.cfm?u=' + shareasale.to_s + '&b=234786&m=27601&afftrack=&urllink='
106
105
  share_a_sale_url = s_url + @ticketPurchaseUrl.
107
106
  gsub('&', '%26').
108
107
  gsub('.', '%2E').
@@ -110,10 +109,7 @@ module TicketflyPlus
110
109
  gsub('=', '%3D').
111
110
  gsub('?', '%3F').
112
111
  gsub('_', '%5F')
113
- share_a_sale_url
114
- else
115
- url
116
- end
112
+ return share_a_sale_url
117
113
  end
118
114
  end
119
115
 
@@ -140,7 +140,7 @@ module TicketflyPlus
140
140
  end
141
141
 
142
142
  def event
143
- TicketflyPlus::Calls::List.new(requestor_string: EVENTS_STRING, params_list: get_params_list.join.to_s)
143
+ TicketflyPlus::Calls::List.new(requestor_string: EVENT_STRING, params_list: get_params_list.join.to_s)
144
144
  end
145
145
 
146
146
  end
@@ -161,7 +161,7 @@ module TicketflyPlus
161
161
  end
162
162
 
163
163
  def list
164
- TicketflyPlus::Calls::List.new(requestor_string: EVENTS_STRING, params_list: get_params_list.join.to_s)
164
+ TicketflyPlus::Calls::List.new(requestor_string: VENUES_STRING, params_list: get_params_list.join.to_s)
165
165
  end
166
166
  end
167
167
 
@@ -179,7 +179,7 @@ module TicketflyPlus
179
179
  end
180
180
 
181
181
  def list
182
- TicketflyPlus::Calls::List.new(requestor_string: EVENTS_STRING, params_list: get_params_list.join.to_s)
182
+ TicketflyPlus::Calls::List.new(requestor_string: ORGS_STRING, params_list: get_params_list.join.to_s)
183
183
  end
184
184
  end
185
185
  end
@@ -1,3 +1,3 @@
1
1
  module TicketflyPlus
2
- VERSION = "0.2.2"
2
+ VERSION = "0.2.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ticketfly_plus
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joshua Nathaniel Miller
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-09-04 00:00:00.000000000 Z
11
+ date: 2014-09-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler