Module: Meibo::Profiles
- Defined in:
- lib/meibo/profiles.rb
Constant Summary collapse
- PROFILES =
{ "v1.2" => profile121, "v1.2.1" => profile121, "v1.2.0" => profile120, "v1.2.0 ep v3.00" => eportal_v3, "v1.2.0 jp v1.0" => japan_profile120_v10, "v1.2.0 jp v1.1" => japan_profile120_v11, "v1.2.1 jp v1.1" => japan_profile121_v11 }.freeze
Class Method Summary collapse
Class Method Details
.[](profile_name) ⇒ Object
130 131 132 |
# File 'lib/meibo/profiles.rb', line 130 def self.[](profile_name) PROFILES.fetch(profile_name) end |
.use(profile_name, &block) ⇒ Object
126 127 128 |
# File 'lib/meibo/profiles.rb', line 126 def self.use(profile_name, &block) Meibo.with_profile(self[profile_name], &block) end |