Module: Nard::Appi::ClientExt::Request
- Included in:
- Nard::Appi::Client
- Defined in:
- lib/nard/appi/client_ext/request.rb
Instance Method Summary collapse
-
#get(*args) ⇒ Object
GET メソッドで API へアクセスするメソッド.
- #path(*args) ⇒ Object
-
#post(*args) ⇒ Object
POST メソッドで API へアクセスするメソッド.
Instance Method Details
#get(*args) ⇒ Object
GET メソッドで API へアクセスするメソッド
10 11 12 |
# File 'lib/nard/appi/client_ext/request.rb', line 10 def get( *args ) request( :get, *args ) end |
#path(*args) ⇒ Object
20 21 22 |
# File 'lib/nard/appi/client_ext/request.rb', line 20 def path( *args ) raise NotImplementedError end |
#post(*args) ⇒ Object
POST メソッドで API へアクセスするメソッド
15 16 17 |
# File 'lib/nard/appi/client_ext/request.rb', line 15 def post( *args ) request( :post, *args ) end |