Module: SnipSnap::Client::ClassMethods

Defined in:
lib/snip_snap/client.rb

Instance Method Summary collapse

Instance Method Details

#head?Boolean

Returns:

  • (Boolean)


40
41
42
# File 'lib/snip_snap/client.rb', line 40

def head?
  @request_method == :head
end

#request_method(method_name) ⇒ Object



36
37
38
# File 'lib/snip_snap/client.rb', line 36

def request_method(method_name)
  @request_method = method_name
end