Class: Vk::API::Groups::Methods::EditPlace

Inherits:
Schema::Method
  • Object
show all
Defined in:
lib/vk/api/groups/methods/edit_place.rb

Overview

Edits the place in community.

Arguments collapse

Instance Method Summary collapse

Methods inherited from Schema::Method

#call, #method, #to_hash

Constructor Details

#initialize(arguments) ⇒ Groups::Methods::EditPlace

Parameters:

  • arguments (Hash)

Options Hash (arguments):

  • :group_id (Integer)

    Community ID.

  • :title (String)

    Place title.

  • :address (String)

    Place address.

  • :country_id (Integer)

    Country ID.

  • :city_id (Integer)

    City ID.

  • :latitude (Number)

    Geographical latitude.

  • :longitude (Number)

    Geographical longitude.


# File 'lib/vk/api/groups/methods/edit_place.rb', line 15

Instance Method Details

#addressString

Returns Place address.

Returns:

  • (String)

    Place address.


33
# File 'lib/vk/api/groups/methods/edit_place.rb', line 33

attribute :address, API::Types::Coercible::String.optional.default(nil)

#city_idInteger

Returns City ID.

Returns:

  • (Integer)

    City ID.


37
# File 'lib/vk/api/groups/methods/edit_place.rb', line 37

attribute :city_id, API::Types::Coercible::Int.optional.default(nil)

#country_idInteger

Returns Country ID.

Returns:

  • (Integer)

    Country ID.


35
# File 'lib/vk/api/groups/methods/edit_place.rb', line 35

attribute :country_id, API::Types::Coercible::Int.optional.default(nil)

#group_idInteger

Returns Community ID.

Returns:

  • (Integer)

    Community ID.


29
# File 'lib/vk/api/groups/methods/edit_place.rb', line 29

attribute :group_id, API::Types::Coercible::Int

#latitudeNumber

Returns Geographical latitude.

Returns:

  • (Number)

    Geographical latitude.


39
# File 'lib/vk/api/groups/methods/edit_place.rb', line 39

attribute :latitude, API::Types::Coercible::Int.optional.default(nil)

#longitudeNumber

Returns Geographical longitude.

Returns:

  • (Number)

    Geographical longitude.


41
# File 'lib/vk/api/groups/methods/edit_place.rb', line 41

attribute :longitude, API::Types::Coercible::Int.optional.default(nil)

#titleString

Returns Place title.

Returns:

  • (String)

    Place title.


31
# File 'lib/vk/api/groups/methods/edit_place.rb', line 31

attribute :title, API::Types::Coercible::String.optional.default(nil)