class Barrister::Rails::Client::BaseEtherealModel

Public Instance Methods

persisted?() click to toggle source

for determining inflection

# File lib/barrister-rails.rb, line 24
def persisted?
  !id.nil?
end
to_param() click to toggle source

for building a route

# File lib/barrister-rails.rb, line 19
def to_param
  "#{id}"
end