module FmRest::Spyke::Model::URI
Public Instance Methods
layout(layout = nil)
click to toggle source
Accessor for FM layout (user for building request URIs).
@param layout [String] The FM layout to connect this class to
@return [String] The current layout if manually set, or the name of
the class otherwise
# File lib/fmrest/spyke/model/uri.rb, line 26 def layout(layout = nil) self._layout = layout.dup.to_s.freeze if layout self._layout || model_name.name end
uri(uri_template = nil)
click to toggle source