lib/apipie/client/thor.rb in apipie-rails-0.0.12 vs lib/apipie/client/thor.rb in apipie-rails-0.0.13

- old
+ new

@@ -1,19 +1,21 @@ -module Apipie::Client - class Thor < ::Thor +module Apipie + module Client + class Thor < ::Thor - def self.apipie_options - Apipie::Client::Thor.instance_variable_get :@apipie_options - end + def self.apipie_options + Apipie::Client::Thor.instance_variable_get :@apipie_options + end - no_tasks do - def apipie_options - self.class.apipie_options + no_tasks do + def apipie_options + self.class.apipie_options + end end - end - def self.apipie_options=(options) - Apipie::Client::Thor.instance_variable_set :@apipie_options, options - end + def self.apipie_options=(options) + Apipie::Client::Thor.instance_variable_set :@apipie_options, options + end + end end end