Method: Rpush::Client::ActiveModel::Pushy::App.included
- Defined in:
- lib/rpush/client/active_model/pushy/app.rb
.included(base) ⇒ Object
6 7 8 9 10 11 |
# File 'lib/rpush/client/active_model/pushy/app.rb', line 6 def self.included(base) base.instance_eval do alias_attribute :api_key, :auth_key validates :api_key, presence: true end end |