passbook-rails 0.0.1 → 0.0.2
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.
- data/lib/passbook-rails.rb +1 -3
- data/lib/passbook-rails/version.rb +1 -1
- metadata +1 -1
data/lib/passbook-rails.rb
CHANGED
@@ -16,8 +16,7 @@ ActionController::Renderers.add :pkpass do |obj, options|
|
|
16
16
|
end
|
17
17
|
|
18
18
|
module Passbook
|
19
|
-
|
20
|
-
def self.pass_type_id_to_class pass_type_id
|
19
|
+
def self.pass_type_id_to_class pass_type_id
|
21
20
|
Passbook::Config.instance.pass_config[pass_type_id]['class'].constantize
|
22
21
|
end
|
23
22
|
|
@@ -26,5 +25,4 @@ module Passbook
|
|
26
25
|
return pass_type_id if config['class']==class_name
|
27
26
|
end
|
28
27
|
end
|
29
|
-
end
|
30
28
|
end
|