Module: RegApi2::Shop

Extended by:
Shop
Includes:
Builder
Included in:
Shop
Defined in:
lib/reg_api2/shop.rb

Overview

REG.API shop category

Instance Method Summary (collapse)

Methods included from Builder

included

Instance Method Details

- (void) add_lot

This method returns an undefined value.

adding lot/lots.

Parameters:

  • opts

    Opts



22
# File 'lib/reg_api2/shop.rb', line 22

define :add_lot

- (void) delete_lot

This method returns an undefined value.

delete lot/lots.

Parameters:

  • opts

    Opts



35
# File 'lib/reg_api2/shop.rb', line 35

define :delete_lot, required: { dname: {} }

- (Array) get_category_list

getting a list of popular tags.

Parameters:

  • opts

    Opts

Returns:

  • (Array)

    List of tags.



57
# File 'lib/reg_api2/shop.rb', line 57

define :get_category_list, field: :category_list

- (Hash) get_info

obtain information on the lot.

Parameters:

  • opts

    Opts

Returns:

  • (Hash)

    Lots data.



42
# File 'lib/reg_api2/shop.rb', line 42

define :get_info, required: { dname: {} }

- (Hash) get_lot_list

getting a list of lots.

Parameters:

  • opts

    Opts

Returns:

  • (Hash)

    Lots data.



51
# File 'lib/reg_api2/shop.rb', line 51

define :get_lot_list

- (String) nop

For testing purposes. Also, with the help of this function you can check accessibility of a lot and get its ID. For this, pass username+password+dname.

Parameters:

  • opts

    Opts

Returns:

  • (String)

    lot identifier or nil.



16
# File 'lib/reg_api2/shop.rb', line 16

define :nop

- (void) update_lot

This method returns an undefined value.

Update lot/lots.

Parameters:

  • opts

    Opts



28
# File 'lib/reg_api2/shop.rb', line 28

define :update_lot