class Cylons::RemoteSchema

Attributes

remote_associations[RW]
remote_attributes[RW]
remote_klass[RW]
remote_search_scopes[RW]

Public Class Methods

new(klass) click to toggle source
# File lib/cylons/remote_schema.rb, line 5
def initialize(klass)
  @remote_attributes ||= klass.attribute_names
  @remote_associations ||= klass.remote_associations
  @remote_search_scopes ||= []
  @remote_klass ||= klass.name.downcase.to_sym
end