Sha256: e12c4ec26265aea2b8de83dc85bf793c6f01ff4dae8dc223c5066109fafd7f8f
Contents?: true
Size: 414 Bytes
Versions: 4
Compression:
Stored size: 414 Bytes
Contents
module JeraPush::Services class BaseService extend ActiveModel::Naming def initialize(*) @errors = ActiveModel::Errors.new(self) @firebase = JeraPush::Firebase::Client.new end def read_attribute_for_validation(attr) send(attr) end def self.human_attribute_name(attr, options = {}) attr end def self.lookup_ancestors [self] end end end
Version data entries
4 entries across 4 versions & 1 rubygems